<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">确认</h4>
            </div>
            <div class="modal-body">
                是否确认？
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary" ng-click="ok()">确认</button>
            </div>
        </div>
    </div>
</div>
<!--导航栏-->
<div class="row-fluid">
    <div class="navbar no-margin">
        <div class="navbar-inner">
            <ul class="breadcrumb">
                <i class="icon-chevron-left hide-sidebar"><a href='#' title="Hide Sidebar" rel='tooltip'>&nbsp;</a></i>
                <i class="icon-chevron-right show-sidebar" style="display:none;"><a href='#' title="Show Sidebar"
                        rel='tooltip'>&nbsp;</a></i>
                <li>
                    <a href="#/star">首页</a>
                </li>
                <li class="active">商业类型配置</li>
            </ul>
        </div>
    </div>
</div>

<div class="pull-convert-alert"></div>

<div style="padding: 0 10px 0; float:right;">
    <div style="text-align: right;font-size: 1.2rem; color: red;">商业类型：即是否可以售卖，计费：即是否可以摊销</div>
</div>

<div class="container-fluid">
    <div style="margin: 10px">
        <div class="row">
            <div class="col-sm-12 col-md-12 main" style="float: right">
                <h3 class="sub-header"
                    style="display:inline-block; font-weight: 700;font-size: 14px;padding: 20px 10px 5px 0;">配置列表</h3>
                <!-- Button to trigger modal -->
                <a class="btn btn-primary btn-sm" href="#/star/config/adtype_define_edit" role="button">新建</a>
                <!-- <div style="margin-left:10px;margin-right:10px;float: right; padding-left:10px;">
                    <a class="btn btn-primary btn-sm" ng-click="toBatchPub(1)" role="button">发布</a>
                    <a class="btn btn-primary btn-sm" ng-click="toBatchPub(0)" role="button">取消发布</a>
                </div> -->
                <table id="list_table" class="table table-condensed" data-toolbar="#toolbar" data-search="true"
                    data-show-toggle="true" data-show-columns="true" data-show-pagination-switch="true"
                    data-pagination="true" data-search-align="left" data-buttons-align="left" data-toolbar-align="left"
                    data-side-pagination="client" data-click-to-select="true">
                    <thead>
                        <tr>
                            <th data-field="id" data-sortable="true">ID</th>
                            <th data-field="id" data-sortable="true" data-formatter="adtypeConfigOpt">操作</th>
                            <th data-field="attrName" data-sortable="true">属性名称</th>
                            <th data-field="attrValue" data-sortable="true">属性值（数仓商业类型）</th>
                            <th data-field="dispValList" data-sortable="true">检索日志对应字符串</th>
                            <th data-field="typeAd" data-sortable="true">商业类型</th>
                            <th data-field="isLego" data-sortable="true" data-formatter="isLegoOpt">lego产品</th>
                            <th data-field="isCharging" data-sortable="true" data-formatter="isChargingOpt">是否计费</th>
                            <th data-field="typeCharging" data-sortable="true">计费方式</th>
                            <th data-field="legoProductid" data-sortable="true">lego产品ID</th>
                            <th data-field="owner" data-sortable="true">负责人</th>
                            <th data-field="creator" data-sortable="true">创建人</th>
                            <th data-field="lastOperator" data-sortable="true">最后操作人</th>
                            <th data-field="isValid" data-sortable="true" data-formatter="isValidOpt">是否发布</th>
                            <th data-field="validTime" data-sortable="true">发布时间</th>
                            <th data-field="updateTime" data-sortable="true">更新时间</th>
                            <th data-field="createTime" data-sortable="true">创建时间</th>
                        </tr>
                    </thead>
                </table>
            </div>
        </div>
    </div>
</div>